『Mathematics in Lean』
PDF版: Mathematics in Lean
HTML版: Mathematics in Lean — Mathematics in Lean 0.1 documentation
GitHub: leanprover-community/mathematics_in_lean: The user home repository for the Mathematics in Lean tutorial.
メモ
【#1】Leanの入門教材!Mathematics in Leanを1から解いていくぞ! - YouTube
【#2】Leanの入門教材!Mathematics in Leanを1から解いていくぞ! - YouTube
1章
table:訳
英語 日本語
tactic 戦術、タクティク
identity 同一
rw: 書き換えタクティク
mul_comm a b
可換則
a * b = b * a
mul_assoc a b c
結合則
a * b * c = a * (b * c)
ここで暗黙的にa * b * cは(a * b) * cになっている
code:lean
example (a b c : ℝ) : a * b * c = b * (a * c) := by
rw mul_comm a b
rw mul_assoc b a c
3章
rcases
7章
7. Hierarchies
7.1. Basics
7.2. Morphisms
7.3. Sub-objects
Lean 型クラス
Type Classes - Theorem Proving in Lean 4
菱形継承問題(Diamond Inheritance Problem)
オブジェクト指向の方でもよく出るやつ
Leanの開発中に同じような問題に遭遇したとのこと
『Competing inheritance paths in dependent type theory: a case study in functional analysis』
Competing inheritance paths in dependent type theory: a case study in functional analysis - Inria - Institut national de recherche en sciences et technologies du numérique
#Leanドキュメント
#Lean_4 #本
#文献